package com.itic.ht.mem.distribution.persistence.model;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.Date;
import java.util.List;

public class CateExample {
    protected String orderByClause;

    protected boolean distinct;

    protected List<Criteria> oredCriteria;

    public CateExample() {
        oredCriteria = new ArrayList<Criteria>();
    }

    public void setOrderByClause(String orderByClause) {
        this.orderByClause = orderByClause;
    }

    public String getOrderByClause() {
        return orderByClause;
    }

    public void setDistinct(boolean distinct) {
        this.distinct = distinct;
    }

    public boolean isDistinct() {
        return distinct;
    }

    public List<Criteria> getOredCriteria() {
        return oredCriteria;
    }

    public void or(Criteria criteria) {
        oredCriteria.add(criteria);
    }

    public Criteria or() {
        Criteria criteria = createCriteriaInternal();
        oredCriteria.add(criteria);
        return criteria;
    }

    public Criteria createCriteria() {
        Criteria criteria = createCriteriaInternal();
        if (oredCriteria.size() == 0) {
            oredCriteria.add(criteria);
        }
        return criteria;
    }

    protected Criteria createCriteriaInternal() {
        Criteria criteria = new Criteria();
        return criteria;
    }

    public void clear() {
        oredCriteria.clear();
        orderByClause = null;
        distinct = false;
    }

    protected abstract static class GeneratedCriteria {
        protected List<Criterion> criteria;

        protected GeneratedCriteria() {
            super();
            criteria = new ArrayList<Criterion>();
        }

        public boolean isValid() {
            return criteria.size() > 0;
        }

        public List<Criterion> getAllCriteria() {
            return criteria;
        }

        public List<Criterion> getCriteria() {
            return criteria;
        }

        protected void addCriterion(String condition) {
            if (condition == null) {
                throw new RuntimeException("Value for condition cannot be null");
            }
            criteria.add(new Criterion(condition));
        }

        protected void addCriterion(String condition, Object value, String property) {
            if (value == null) {
                throw new RuntimeException("Value for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value));
        }

        protected void addCriterion(String condition, Object value1, Object value2, String property) {
            if (value1 == null || value2 == null) {
                throw new RuntimeException("Between values for " + property + " cannot be null");
            }
            criteria.add(new Criterion(condition, value1, value2));
        }

        public Criteria andIdIsNull() {
            addCriterion("ID is null");
            return (Criteria) this;
        }

        public Criteria andIdIsNotNull() {
            addCriterion("ID is not null");
            return (Criteria) this;
        }

        public Criteria andIdEqualTo(String value) {
            addCriterion("ID =", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotEqualTo(String value) {
            addCriterion("ID <>", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThan(String value) {
            addCriterion("ID >", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdGreaterThanOrEqualTo(String value) {
            addCriterion("ID >=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThan(String value) {
            addCriterion("ID <", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLessThanOrEqualTo(String value) {
            addCriterion("ID <=", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdLike(String value) {
            addCriterion("ID like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotLike(String value) {
            addCriterion("ID not like", value, "id");
            return (Criteria) this;
        }

        public Criteria andIdIn(List<String> values) {
            addCriterion("ID in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotIn(List<String> values) {
            addCriterion("ID not in", values, "id");
            return (Criteria) this;
        }

        public Criteria andIdBetween(String value1, String value2) {
            addCriterion("ID between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andIdNotBetween(String value1, String value2) {
            addCriterion("ID not between", value1, value2, "id");
            return (Criteria) this;
        }

        public Criteria andCateCodeIsNull() {
            addCriterion("CATE_CODE is null");
            return (Criteria) this;
        }

        public Criteria andCateCodeIsNotNull() {
            addCriterion("CATE_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andCateCodeEqualTo(String value) {
            addCriterion("CATE_CODE =", value, "cateCode");
            return (Criteria) this;
        }

        public Criteria andCateCodeNotEqualTo(String value) {
            addCriterion("CATE_CODE <>", value, "cateCode");
            return (Criteria) this;
        }

        public Criteria andCateCodeGreaterThan(String value) {
            addCriterion("CATE_CODE >", value, "cateCode");
            return (Criteria) this;
        }

        public Criteria andCateCodeGreaterThanOrEqualTo(String value) {
            addCriterion("CATE_CODE >=", value, "cateCode");
            return (Criteria) this;
        }

        public Criteria andCateCodeLessThan(String value) {
            addCriterion("CATE_CODE <", value, "cateCode");
            return (Criteria) this;
        }

        public Criteria andCateCodeLessThanOrEqualTo(String value) {
            addCriterion("CATE_CODE <=", value, "cateCode");
            return (Criteria) this;
        }

        public Criteria andCateCodeLike(String value) {
            addCriterion("CATE_CODE like", value, "cateCode");
            return (Criteria) this;
        }

        public Criteria andCateCodeNotLike(String value) {
            addCriterion("CATE_CODE not like", value, "cateCode");
            return (Criteria) this;
        }

        public Criteria andCateCodeIn(List<String> values) {
            addCriterion("CATE_CODE in", values, "cateCode");
            return (Criteria) this;
        }

        public Criteria andCateCodeNotIn(List<String> values) {
            addCriterion("CATE_CODE not in", values, "cateCode");
            return (Criteria) this;
        }

        public Criteria andCateCodeBetween(String value1, String value2) {
            addCriterion("CATE_CODE between", value1, value2, "cateCode");
            return (Criteria) this;
        }

        public Criteria andCateCodeNotBetween(String value1, String value2) {
            addCriterion("CATE_CODE not between", value1, value2, "cateCode");
            return (Criteria) this;
        }

        public Criteria andCateNameIsNull() {
            addCriterion("CATE_NAME is null");
            return (Criteria) this;
        }

        public Criteria andCateNameIsNotNull() {
            addCriterion("CATE_NAME is not null");
            return (Criteria) this;
        }

        public Criteria andCateNameEqualTo(String value) {
            addCriterion("CATE_NAME =", value, "cateName");
            return (Criteria) this;
        }

        public Criteria andCateNameNotEqualTo(String value) {
            addCriterion("CATE_NAME <>", value, "cateName");
            return (Criteria) this;
        }

        public Criteria andCateNameGreaterThan(String value) {
            addCriterion("CATE_NAME >", value, "cateName");
            return (Criteria) this;
        }

        public Criteria andCateNameGreaterThanOrEqualTo(String value) {
            addCriterion("CATE_NAME >=", value, "cateName");
            return (Criteria) this;
        }

        public Criteria andCateNameLessThan(String value) {
            addCriterion("CATE_NAME <", value, "cateName");
            return (Criteria) this;
        }

        public Criteria andCateNameLessThanOrEqualTo(String value) {
            addCriterion("CATE_NAME <=", value, "cateName");
            return (Criteria) this;
        }

        public Criteria andCateNameLike(String value) {
            addCriterion("CATE_NAME like", value, "cateName");
            return (Criteria) this;
        }

        public Criteria andCateNameNotLike(String value) {
            addCriterion("CATE_NAME not like", value, "cateName");
            return (Criteria) this;
        }

        public Criteria andCateNameIn(List<String> values) {
            addCriterion("CATE_NAME in", values, "cateName");
            return (Criteria) this;
        }

        public Criteria andCateNameNotIn(List<String> values) {
            addCriterion("CATE_NAME not in", values, "cateName");
            return (Criteria) this;
        }

        public Criteria andCateNameBetween(String value1, String value2) {
            addCriterion("CATE_NAME between", value1, value2, "cateName");
            return (Criteria) this;
        }

        public Criteria andCateNameNotBetween(String value1, String value2) {
            addCriterion("CATE_NAME not between", value1, value2, "cateName");
            return (Criteria) this;
        }

        public Criteria andOneLevelCateIsNull() {
            addCriterion("ONE_LEVEL_CATE is null");
            return (Criteria) this;
        }

        public Criteria andOneLevelCateIsNotNull() {
            addCriterion("ONE_LEVEL_CATE is not null");
            return (Criteria) this;
        }

        public Criteria andOneLevelCateEqualTo(BigDecimal value) {
            addCriterion("ONE_LEVEL_CATE =", value, "oneLevelCate");
            return (Criteria) this;
        }

        public Criteria andOneLevelCateNotEqualTo(BigDecimal value) {
            addCriterion("ONE_LEVEL_CATE <>", value, "oneLevelCate");
            return (Criteria) this;
        }

        public Criteria andOneLevelCateGreaterThan(BigDecimal value) {
            addCriterion("ONE_LEVEL_CATE >", value, "oneLevelCate");
            return (Criteria) this;
        }

        public Criteria andOneLevelCateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("ONE_LEVEL_CATE >=", value, "oneLevelCate");
            return (Criteria) this;
        }

        public Criteria andOneLevelCateLessThan(BigDecimal value) {
            addCriterion("ONE_LEVEL_CATE <", value, "oneLevelCate");
            return (Criteria) this;
        }

        public Criteria andOneLevelCateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("ONE_LEVEL_CATE <=", value, "oneLevelCate");
            return (Criteria) this;
        }

        public Criteria andOneLevelCateIn(List<BigDecimal> values) {
            addCriterion("ONE_LEVEL_CATE in", values, "oneLevelCate");
            return (Criteria) this;
        }

        public Criteria andOneLevelCateNotIn(List<BigDecimal> values) {
            addCriterion("ONE_LEVEL_CATE not in", values, "oneLevelCate");
            return (Criteria) this;
        }

        public Criteria andOneLevelCateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ONE_LEVEL_CATE between", value1, value2, "oneLevelCate");
            return (Criteria) this;
        }

        public Criteria andOneLevelCateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("ONE_LEVEL_CATE not between", value1, value2, "oneLevelCate");
            return (Criteria) this;
        }

        public Criteria andTwoLevelCateIsNull() {
            addCriterion("TWO_LEVEL_CATE is null");
            return (Criteria) this;
        }

        public Criteria andTwoLevelCateIsNotNull() {
            addCriterion("TWO_LEVEL_CATE is not null");
            return (Criteria) this;
        }

        public Criteria andTwoLevelCateEqualTo(BigDecimal value) {
            addCriterion("TWO_LEVEL_CATE =", value, "twoLevelCate");
            return (Criteria) this;
        }

        public Criteria andTwoLevelCateNotEqualTo(BigDecimal value) {
            addCriterion("TWO_LEVEL_CATE <>", value, "twoLevelCate");
            return (Criteria) this;
        }

        public Criteria andTwoLevelCateGreaterThan(BigDecimal value) {
            addCriterion("TWO_LEVEL_CATE >", value, "twoLevelCate");
            return (Criteria) this;
        }

        public Criteria andTwoLevelCateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("TWO_LEVEL_CATE >=", value, "twoLevelCate");
            return (Criteria) this;
        }

        public Criteria andTwoLevelCateLessThan(BigDecimal value) {
            addCriterion("TWO_LEVEL_CATE <", value, "twoLevelCate");
            return (Criteria) this;
        }

        public Criteria andTwoLevelCateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("TWO_LEVEL_CATE <=", value, "twoLevelCate");
            return (Criteria) this;
        }

        public Criteria andTwoLevelCateIn(List<BigDecimal> values) {
            addCriterion("TWO_LEVEL_CATE in", values, "twoLevelCate");
            return (Criteria) this;
        }

        public Criteria andTwoLevelCateNotIn(List<BigDecimal> values) {
            addCriterion("TWO_LEVEL_CATE not in", values, "twoLevelCate");
            return (Criteria) this;
        }

        public Criteria andTwoLevelCateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TWO_LEVEL_CATE between", value1, value2, "twoLevelCate");
            return (Criteria) this;
        }

        public Criteria andTwoLevelCateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("TWO_LEVEL_CATE not between", value1, value2, "twoLevelCate");
            return (Criteria) this;
        }

        public Criteria andThirdLevelCateIsNull() {
            addCriterion("THIRD_LEVEL_CATE is null");
            return (Criteria) this;
        }

        public Criteria andThirdLevelCateIsNotNull() {
            addCriterion("THIRD_LEVEL_CATE is not null");
            return (Criteria) this;
        }

        public Criteria andThirdLevelCateEqualTo(BigDecimal value) {
            addCriterion("THIRD_LEVEL_CATE =", value, "thirdLevelCate");
            return (Criteria) this;
        }

        public Criteria andThirdLevelCateNotEqualTo(BigDecimal value) {
            addCriterion("THIRD_LEVEL_CATE <>", value, "thirdLevelCate");
            return (Criteria) this;
        }

        public Criteria andThirdLevelCateGreaterThan(BigDecimal value) {
            addCriterion("THIRD_LEVEL_CATE >", value, "thirdLevelCate");
            return (Criteria) this;
        }

        public Criteria andThirdLevelCateGreaterThanOrEqualTo(BigDecimal value) {
            addCriterion("THIRD_LEVEL_CATE >=", value, "thirdLevelCate");
            return (Criteria) this;
        }

        public Criteria andThirdLevelCateLessThan(BigDecimal value) {
            addCriterion("THIRD_LEVEL_CATE <", value, "thirdLevelCate");
            return (Criteria) this;
        }

        public Criteria andThirdLevelCateLessThanOrEqualTo(BigDecimal value) {
            addCriterion("THIRD_LEVEL_CATE <=", value, "thirdLevelCate");
            return (Criteria) this;
        }

        public Criteria andThirdLevelCateIn(List<BigDecimal> values) {
            addCriterion("THIRD_LEVEL_CATE in", values, "thirdLevelCate");
            return (Criteria) this;
        }

        public Criteria andThirdLevelCateNotIn(List<BigDecimal> values) {
            addCriterion("THIRD_LEVEL_CATE not in", values, "thirdLevelCate");
            return (Criteria) this;
        }

        public Criteria andThirdLevelCateBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("THIRD_LEVEL_CATE between", value1, value2, "thirdLevelCate");
            return (Criteria) this;
        }

        public Criteria andThirdLevelCateNotBetween(BigDecimal value1, BigDecimal value2) {
            addCriterion("THIRD_LEVEL_CATE not between", value1, value2, "thirdLevelCate");
            return (Criteria) this;
        }

        public Criteria andNoteIsNull() {
            addCriterion("NOTE is null");
            return (Criteria) this;
        }

        public Criteria andNoteIsNotNull() {
            addCriterion("NOTE is not null");
            return (Criteria) this;
        }

        public Criteria andNoteEqualTo(String value) {
            addCriterion("NOTE =", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotEqualTo(String value) {
            addCriterion("NOTE <>", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThan(String value) {
            addCriterion("NOTE >", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteGreaterThanOrEqualTo(String value) {
            addCriterion("NOTE >=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThan(String value) {
            addCriterion("NOTE <", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLessThanOrEqualTo(String value) {
            addCriterion("NOTE <=", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteLike(String value) {
            addCriterion("NOTE like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotLike(String value) {
            addCriterion("NOTE not like", value, "note");
            return (Criteria) this;
        }

        public Criteria andNoteIn(List<String> values) {
            addCriterion("NOTE in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotIn(List<String> values) {
            addCriterion("NOTE not in", values, "note");
            return (Criteria) this;
        }

        public Criteria andNoteBetween(String value1, String value2) {
            addCriterion("NOTE between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andNoteNotBetween(String value1, String value2) {
            addCriterion("NOTE not between", value1, value2, "note");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveIsNull() {
            addCriterion("IS_EFFECTIVE is null");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveIsNotNull() {
            addCriterion("IS_EFFECTIVE is not null");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveEqualTo(String value) {
            addCriterion("IS_EFFECTIVE =", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotEqualTo(String value) {
            addCriterion("IS_EFFECTIVE <>", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveGreaterThan(String value) {
            addCriterion("IS_EFFECTIVE >", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveGreaterThanOrEqualTo(String value) {
            addCriterion("IS_EFFECTIVE >=", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveLessThan(String value) {
            addCriterion("IS_EFFECTIVE <", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveLessThanOrEqualTo(String value) {
            addCriterion("IS_EFFECTIVE <=", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveLike(String value) {
            addCriterion("IS_EFFECTIVE like", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotLike(String value) {
            addCriterion("IS_EFFECTIVE not like", value, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveIn(List<String> values) {
            addCriterion("IS_EFFECTIVE in", values, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotIn(List<String> values) {
            addCriterion("IS_EFFECTIVE not in", values, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveBetween(String value1, String value2) {
            addCriterion("IS_EFFECTIVE between", value1, value2, "isEffective");
            return (Criteria) this;
        }

        public Criteria andIsEffectiveNotBetween(String value1, String value2) {
            addCriterion("IS_EFFECTIVE not between", value1, value2, "isEffective");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNull() {
            addCriterion("CREATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIsNotNull() {
            addCriterion("CREATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andCreateTimeEqualTo(Date value) {
            addCriterion("CREATE_TIME =", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotEqualTo(Date value) {
            addCriterion("CREATE_TIME <>", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThan(Date value) {
            addCriterion("CREATE_TIME >", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME >=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThan(Date value) {
            addCriterion("CREATE_TIME <", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeLessThanOrEqualTo(Date value) {
            addCriterion("CREATE_TIME <=", value, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeIn(List<Date> values) {
            addCriterion("CREATE_TIME in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotIn(List<Date> values) {
            addCriterion("CREATE_TIME not in", values, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andCreateTimeNotBetween(Date value1, Date value2) {
            addCriterion("CREATE_TIME not between", value1, value2, "createTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNull() {
            addCriterion("UPDATE_TIME is null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIsNotNull() {
            addCriterion("UPDATE_TIME is not null");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeEqualTo(Date value) {
            addCriterion("UPDATE_TIME =", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotEqualTo(Date value) {
            addCriterion("UPDATE_TIME <>", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThan(Date value) {
            addCriterion("UPDATE_TIME >", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeGreaterThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME >=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThan(Date value) {
            addCriterion("UPDATE_TIME <", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeLessThanOrEqualTo(Date value) {
            addCriterion("UPDATE_TIME <=", value, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeIn(List<Date> values) {
            addCriterion("UPDATE_TIME in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotIn(List<Date> values) {
            addCriterion("UPDATE_TIME not in", values, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andUpdateTimeNotBetween(Date value1, Date value2) {
            addCriterion("UPDATE_TIME not between", value1, value2, "updateTime");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIsNull() {
            addCriterion("ORG_CODE is null");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIsNotNull() {
            addCriterion("ORG_CODE is not null");
            return (Criteria) this;
        }

        public Criteria andOrgCodeEqualTo(String value) {
            addCriterion("ORG_CODE =", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotEqualTo(String value) {
            addCriterion("ORG_CODE <>", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeGreaterThan(String value) {
            addCriterion("ORG_CODE >", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeGreaterThanOrEqualTo(String value) {
            addCriterion("ORG_CODE >=", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLessThan(String value) {
            addCriterion("ORG_CODE <", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLessThanOrEqualTo(String value) {
            addCriterion("ORG_CODE <=", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeLike(String value) {
            addCriterion("ORG_CODE like", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotLike(String value) {
            addCriterion("ORG_CODE not like", value, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeIn(List<String> values) {
            addCriterion("ORG_CODE in", values, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotIn(List<String> values) {
            addCriterion("ORG_CODE not in", values, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeBetween(String value1, String value2) {
            addCriterion("ORG_CODE between", value1, value2, "orgCode");
            return (Criteria) this;
        }

        public Criteria andOrgCodeNotBetween(String value1, String value2) {
            addCriterion("ORG_CODE not between", value1, value2, "orgCode");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNull() {
            addCriterion("CREATE_USER is null");
            return (Criteria) this;
        }

        public Criteria andCreateUserIsNotNull() {
            addCriterion("CREATE_USER is not null");
            return (Criteria) this;
        }

        public Criteria andCreateUserEqualTo(String value) {
            addCriterion("CREATE_USER =", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotEqualTo(String value) {
            addCriterion("CREATE_USER <>", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThan(String value) {
            addCriterion("CREATE_USER >", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserGreaterThanOrEqualTo(String value) {
            addCriterion("CREATE_USER >=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThan(String value) {
            addCriterion("CREATE_USER <", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLessThanOrEqualTo(String value) {
            addCriterion("CREATE_USER <=", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserLike(String value) {
            addCriterion("CREATE_USER like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotLike(String value) {
            addCriterion("CREATE_USER not like", value, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserIn(List<String> values) {
            addCriterion("CREATE_USER in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotIn(List<String> values) {
            addCriterion("CREATE_USER not in", values, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserBetween(String value1, String value2) {
            addCriterion("CREATE_USER between", value1, value2, "createUser");
            return (Criteria) this;
        }

        public Criteria andCreateUserNotBetween(String value1, String value2) {
            addCriterion("CREATE_USER not between", value1, value2, "createUser");
            return (Criteria) this;
        }
    }

    public static class Criteria extends GeneratedCriteria {

        protected Criteria() {
            super();
        }
    }

    public static class Criterion {
        private String condition;

        private Object value;

        private Object secondValue;

        private boolean noValue;

        private boolean singleValue;

        private boolean betweenValue;

        private boolean listValue;

        private String typeHandler;

        public String getCondition() {
            return condition;
        }

        public Object getValue() {
            return value;
        }

        public Object getSecondValue() {
            return secondValue;
        }

        public boolean isNoValue() {
            return noValue;
        }

        public boolean isSingleValue() {
            return singleValue;
        }

        public boolean isBetweenValue() {
            return betweenValue;
        }

        public boolean isListValue() {
            return listValue;
        }

        public String getTypeHandler() {
            return typeHandler;
        }

        protected Criterion(String condition) {
            super();
            this.condition = condition;
            this.typeHandler = null;
            this.noValue = true;
        }

        protected Criterion(String condition, Object value, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.typeHandler = typeHandler;
            if (value instanceof List<?>) {
                this.listValue = true;
            } else {
                this.singleValue = true;
            }
        }

        protected Criterion(String condition, Object value) {
            this(condition, value, null);
        }

        protected Criterion(String condition, Object value, Object secondValue, String typeHandler) {
            super();
            this.condition = condition;
            this.value = value;
            this.secondValue = secondValue;
            this.typeHandler = typeHandler;
            this.betweenValue = true;
        }

        protected Criterion(String condition, Object value, Object secondValue) {
            this(condition, value, secondValue, null);
        }
    }
}